import time
from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()
driver.maximize_window()
driver.get('https://email.163.com/')

fram1 = driver.find_element(By.XPATH, '//iframe[@scrolling="no"]')
driver.switch_to.frame(fram1)

driver.find_element(By.XPATH, '//input[@data-placeholder="邮箱帐号或手机号码"]').send_keys('wl15754375315')
driver.find_element(By.XPATH, '//input[@data-placeholder="输入密码"]').send_keys('Wl972130')
driver.find_element(By.ID, 'dologin').click()

time.sleep(5)
driver.quit()
